@use "utils/functions";

.color-input {
    position: relative;

    input {
        height: 36px;

        &:not(:focus) {
            border-right: none !important;
            border-bottom-right-radius: 0 !important;
            border-top-right-radius: 0 !important;
        }
    }
}


.color-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(var(--center-channel-color-rgb), 0.32);
    border-radius: 2px;
    cursor: pointer;
}

.color-pad {
    padding: 5px;
    border: var(--border-default);
    border-radius: 0 4px 4px 0;
    background: functions.v(center-channel-bg) !important;
    line-height: 0;
}

.color-popover {
    position: absolute;
    z-index: 12;
    top: 100%;
    right: 0;
    padding-top: 8px;
}

/* hiding hex input from color picker */
.chrome-picker .flexbox-fix:nth-child(2) {
    display: none !important;
}
